import Router from 'vue-router'
// import Interface from './views/interface'

function init(Vue) {
  Vue.use(Router)
  return new Router({
    mode: 'history',
    base: `${process.env.VUE_APP_ROUTER_BASE}login`,
    routes: [
      {
        path: '/',
        name: 'login',
        component: () => import('./views/login.vue')
      }
    ]
  })
}

export default {
  init
}
